Skip to content

updating the code coverage on more niche syntaxes#1425

Merged
Janther merged 5 commits intomainfrom
ast-coverage
Feb 27, 2026
Merged

updating the code coverage on more niche syntaxes#1425
Janther merged 5 commits intomainfrom
ast-coverage

Conversation

@Janther
Copy link
Copy Markdown
Member

@Janther Janther commented Feb 23, 2026

This was inspired by #1413, which if merged will drop some of the code coverage when instancing a variant and it won't be so strict.

With this, if #1413 is approved, all possible cases would have been covered and we only would need to be diligent when adding new variants.

There was an improvement on the total coverage but mainly the goal was to closely check on every possibility described in Slang's documentation.

Statements Branches Functions Lines
Before 98.38% (11453/11641) 94.13% (1412/1500) 98.83% (508/514) 98.38% (11453/11641)
After 98.95% (11519/11641) 95.91% (1478/1541) 100% (514/514) 98.95% (11519/11641)

@Janther Janther merged commit ec2ff6c into main Feb 27, 2026
7 checks passed
@Janther Janther deleted the ast-coverage branch February 27, 2026 13:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants